/*******************************************************************************
 * Copyright (c) 2010, 2017 西安秦晔信息科技有限公司
 * Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 *******************************************************************************/
package com.qinyeit.serviceapp.entity.system;

import com.qinyetech.springstage.core.entity.AbstractEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>ClassName: com.qinyetech.webapp.entity.system.SystemLog
 * <p>Function: 系统日志
 * <p>date: 2018-03-14 15:38
 *
 * @author wuqing
 * @version 1.0
 * @since JDK 1.8
 */
@Entity
@Table(name="system_logs")
public class SystemLog extends AbstractEntity {
    private String managementAccount; //账号
    private String requestUri;//请求地址
    private String operation; //操作
    private Long runtime ;//执行时间 单位毫秒
    private String method; //执行方法
    private String ip;  //IP地址
    private String osName; //操作系统
    private String browserName ;//浏览器名称
    private String memory;//内存情况

    public String getMemory() {
        return memory;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    public String getManagementAccount() {
        return managementAccount;
    }

    public void setManagementAccount(String managementAccount) {
        this.managementAccount = managementAccount;
    }

    public String getRequestUri() {
        return requestUri;
    }

    public void setRequestUri(String requestUri) {
        this.requestUri = requestUri;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public Long getRuntime() {
        return runtime;
    }

    public void setRuntime(Long runtime) {
        this.runtime = runtime;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getOsName() {
        return osName;
    }

    public void setOsName(String osName) {
        this.osName = osName;
    }

    public String getBrowserName() {
        return browserName;
    }

    public void setBrowserName(String browserName) {
        this.browserName = browserName;
    }
}
